// This file was decompiled using SASCM.ini published by Riba (http://gtag.gtainside.com/opcode-database) on 28.12.2015
{$CLEO .cs}

//-------------MAIN---------------
thread 'Su37_GUN' 

:Su37_GUN_11
wait 0 
if 
   Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)
jf @Su37_GUN_11 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
if 
00E1:   player 0 pressed_key 17 
jf @Su37_GUN_76 
0229: set_car 0@ primary_color_to 0 secondary_color_to 211 
jump @Su37_GUN_93 

:Su37_GUN_76
0229: set_car 0@ primary_color_to 0 secondary_color_to 210 
jump @Su37_GUN_11 

:Su37_GUN_93
066C: 1@ = attach_particle "GUNFLASH" to_car 0@ with_offset 0.95 4.1 0.6 rotation 0.0 1.0 0.0 type 1 
064C: make_particle 1@ visible 
064F: remove_references_to_particle 1@ 
0208: 24@ = random_float_in_ranges -1.0 1.0 
0208: 25@ = random_float_in_ranges -1.0 1.0 
0407: store_coords_to 6@ 7@ 8@ from_car 0@ with_offset 24@ 200.0 25@ 
0407: store_coords_to 9@ 10@ 11@ from_car 0@ with_offset 0.95 7.0 0.6
06BC: create_M4_shoot_from 9@ 10@ 11@ target 6@ 7@ 8@ energy 999 
if 
   Actor.InCar($PLAYER_ACTOR, 0@)
jf @Su37_GUN_294 
09F7: play_audio_at_car 0@ event 1157 
jump @Su37_GUN_294 

:Su37_GUN_294
wait 50 
jump @Su37_GUN_11 
